package com.my.content.bean;

import java.util.List;

/**
 * Created by 李雪斌 on 2016/12/20.
 **/

public class NearBean {

    /**
     * dm_error : 0
     * error_msg : 操作成功
     * expire_time : 60
     * flow : [{"flow_type":"live","info":{"creator":{"id":72757761,"level":4,"gender":0,"nick":"刘小杰","portrait":"MTQ3MTEwNTE5NzEzMiMzNTUjanBn.jpg"},"id":"1482216505683266","name":"","city":"北京市","share_addr":"http://mlive21.inke.cn/share/live.html?uid=72757761&liveid=1482216505683266&ctime=1482216505","stream_addr":"http://pull.a8.com/live/1482216505683266.flv","version":0,"slot":4,"optimal":0,"group":60,"distance":"3.7km","link":0,"multi":0,"rotate":0}}]
     */

    private int dm_error;
    private String error_msg;
    private int expire_time;
    private List<FlowBean> flow;

    public int getDm_error() {
        return dm_error;
    }

    public void setDm_error(int dm_error) {
        this.dm_error = dm_error;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public int getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(int expire_time) {
        this.expire_time = expire_time;
    }

    public List<FlowBean> getFlow() {
        return flow;
    }

    public void setFlow(List<FlowBean> flow) {
        this.flow = flow;
    }

    public static class FlowBean {
        /**
         * flow_type : live
         * info : {"creator":{"id":72757761,"level":4,"gender":0,"nick":"刘小杰","portrait":"MTQ3MTEwNTE5NzEzMiMzNTUjanBn.jpg"},"id":"1482216505683266","name":"","city":"北京市","share_addr":"http://mlive21.inke.cn/share/live.html?uid=72757761&liveid=1482216505683266&ctime=1482216505","stream_addr":"http://pull.a8.com/live/1482216505683266.flv","version":0,"slot":4,"optimal":0,"group":60,"distance":"3.7km","link":0,"multi":0,"rotate":0}
         */

        private String flow_type;
        private InfoBean info;

        public String getFlow_type() {
            return flow_type;
        }

        public void setFlow_type(String flow_type) {
            this.flow_type = flow_type;
        }

        public InfoBean getInfo() {
            return info;
        }

        public void setInfo(InfoBean info) {
            this.info = info;
        }

        public static class InfoBean {
            /**
             * creator : {"id":72757761,"level":4,"gender":0,"nick":"刘小杰","portrait":"MTQ3MTEwNTE5NzEzMiMzNTUjanBn.jpg"}
             * id : 1482216505683266
             * name :
             * city : 北京市
             * share_addr : http://mlive21.inke.cn/share/live.html?uid=72757761&liveid=1482216505683266&ctime=1482216505
             * stream_addr : http://pull.a8.com/live/1482216505683266.flv
             * version : 0
             * slot : 4
             * optimal : 0
             * group : 60
             * distance : 3.7km
             * link : 0
             * multi : 0
             * rotate : 0
             */

            private CreatorBean creator;
            private String id;
            private String name;
            private String city;
            private String share_addr;
            private String stream_addr;
            private int version;
            private int slot;
            private int optimal;
            private int group;
            private String distance;
            private int link;
            private int multi;
            private int rotate;

            public CreatorBean getCreator() {
                return creator;
            }

            public void setCreator(CreatorBean creator) {
                this.creator = creator;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getShare_addr() {
                return share_addr;
            }

            public void setShare_addr(String share_addr) {
                this.share_addr = share_addr;
            }

            public String getStream_addr() {
                return stream_addr;
            }

            public void setStream_addr(String stream_addr) {
                this.stream_addr = stream_addr;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public int getSlot() {
                return slot;
            }

            public void setSlot(int slot) {
                this.slot = slot;
            }

            public int getOptimal() {
                return optimal;
            }

            public void setOptimal(int optimal) {
                this.optimal = optimal;
            }

            public int getGroup() {
                return group;
            }

            public void setGroup(int group) {
                this.group = group;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public int getLink() {
                return link;
            }

            public void setLink(int link) {
                this.link = link;
            }

            public int getMulti() {
                return multi;
            }

            public void setMulti(int multi) {
                this.multi = multi;
            }

            public int getRotate() {
                return rotate;
            }

            public void setRotate(int rotate) {
                this.rotate = rotate;
            }

            public static class CreatorBean {
                /**
                 * id : 72757761
                 * level : 4
                 * gender : 0
                 * nick : 刘小杰
                 * portrait : MTQ3MTEwNTE5NzEzMiMzNTUjanBn.jpg
                 */

                private int id;
                private int level;
                private int gender;
                private String nick;
                private String portrait;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }

                public int getGender() {
                    return gender;
                }

                public void setGender(int gender) {
                    this.gender = gender;
                }

                public String getNick() {
                    return nick;
                }

                public void setNick(String nick) {
                    this.nick = nick;
                }

                public String getPortrait() {
                    return portrait;
                }

                public void setPortrait(String portrait) {
                    this.portrait = portrait;
                }
            }
        }
    }
}
